//Create a JButton that does not show focus, does not paint a border, and
//displays different icons when rolled-over and pressed.
package UILayer;

import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Insets;

import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;

public class DButton extends JButton
{
    public DButton()
    {
        super();
        setFocusPainted(false);
        setBorderPainted(false);
        setContentAreaFilled(false);

        Insets in = new Insets(15, 8, 15, 8);
        setMargin(in);


        Font font = new Font("Verdana", Font.BOLD, 18);
        setFont(font);
    }
}
